package com.xique.park.api;

import com.xique.common.core.constant.ServiceNameConstants;
import com.xique.common.core.domain.R;
import com.xique.park.api.factory.ParkStatisticsInOutFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 车次统计 feign 客户端
 *
 * @author xique
 */
@FeignClient(contextId = "ParkStatisticsInOutService", value = ServiceNameConstants.PARK_BIZ_SERVICE, fallbackFactory = ParkStatisticsInOutFallbackFactory.class)
public interface ParkStatisticsInOutService {

    /**
     * 车次统计追加昨天数据统计
     *
     * @return /
     */
    @PostMapping("/web/inOrOut/yesterdayStatisticsInOut")
    R<String> yesterdayStatisticsInOut();

}
